package com.sun.mapper;

import com.sun.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author sun
 * @date 2020/11/5 - 14:52
 */
@Mapper
public interface StudentMapper {

    @Select("select * from user where id=#{id} and password=#{password}")
    public User login(User user);
}
